package main

type TestService struct {
	BaseService
}

func main() {
	service := TestService{
		BaseService: BaseService{
			ListenPort: 9990,
			Model:      1,
			Name:       "test",
			Title:      "测试",
			CallbackFunc: func(str string) (string, error) {
				return str, nil
			},
		},
	}

	// 启动Web客户端
	go service.StartWebClient()

	// 启动Web服务器
	service.StartWebServer()
}
